<template>
	<view class="shop_details">
		<view class="shop_details_top">
			<view class="icon_go iconfont iconzhuangxiupingtaiicon4"></view>
			<!-- 顶部搜索框 -->
			<nav-bar class="i_top">
				<view class="i_tCan" slot="center">
					<view class="i_tBg"></view>
					<view class="i_tInput">
						<view class="i_tIcon"><image src="/static/common/icon_1.png"></image></view>
						<input type="text" placeholder="搜索您感兴趣的内容吧">
					</view>
				</view>
			</nav-bar>
		</view>
	</view>
</template>

<script>
	import navBar from '../../../components/navBar/navBar.vue';
	
	export default {
		data() {
			return {
				
			}
		},
		components: {
			navBar
		},
	}
</script>

<style lang="scss" scoped>
	// 重置样式
	page {color: #333;font-size: 28upx;}
	image {width: 100%;height: 100%;display: block;}
	
	.shop_details {
		
		&_top {
			display: flex;
			align-items: center;
			
			.icon_go {
				width: 240upx;
				height: 88upx;
				color: #000;
				font-size: 29upx;
				padding-left: 36upx;
				display: flex;
				align-items: center;
				position: relative;
				z-index: 200;
				top: 25upx;
			}
			
			
			// 顶部搜索框
			.i_top {
				position: relative;
				z-index: 100;
				
				.i_tCan {
					width: 434upx;
					height: 66upx;
					
					.i_tBg {
						width: 100vw;
						height: 500upx;
						// background: linear-gradient(181deg, #181f2b 0%, #f6f7fb 100%);
						position: fixed;
						top: 0;
						left: 0;
					}
					.i_tInput {
						height: 66upx;
						border-radius: 34upx;
						background: #fff;
						position: relative;
						opacity: .8;
						
						.i_tIcon {
							width: 30upx;
							height: 30upx;
							position: absolute;
							top: 20upx;
							left: 32upx;
						}
						input {
							width: 100%;
							height: 100%;
							font-size: 24upx;
							padding-left: 72upx;
							box-sizing: border-box;
						}
					}
				}
			}
		}
	}
</style>
